package com.zwps.extra.http.xxljob.response.message;

import com.zwps.extra.http.response.message.InterfaceResponseMessage;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ToString
@Getter
@Setter
public class ResponseMessage implements InterfaceResponseMessage<Integer> {

    protected Integer code;

    protected String message;

    @Override
    public boolean isSuccess() {
        return 200 == code;
    }
}
